package com.hw.backapi;

import org.apache.catalina.core.ApplicationContext;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@MapperScan(value = "com.hw")
@ComponentScan(value = "com.hw")
@EnableScheduling
@EnableAsync
public class BackApi {
    public static void main(String[] args) {
        SpringApplication.run(BackApi.class);
    }
}
